package com.zretc.emptraining.entity;

import java.util.Date;

/**
 * 课程表、课程计划表、教员表联结 实体类
 * 
 * @author 傅洁敏
 *
 */
public class CCPT {
	//课程计划
	private int cpNo;
	private int courseNo;
	private Date courseStart;
	private Date courseEnd;
	private int teacherNo;
	private int courseNum;
	private String coursePlace;
	private String courseTime;
	private int courseStatus;
	private int courseNowNum;
	
    //课程
	private String subJect;
	private String courseName;
	private String courseDesc;
	private String coursePic;
	
	//教员
	private String teacherName;  
	private String teacherXl;    
	private String teacherPic;
	private String teacherSex;
	private String teacherTel;
	private String teacherDesc;

	public CCPT() {
		// TODO Auto-generated constructor stub
	}
	/**
	* @param courseNo    课程计划编号
	 * @param courseNo    课程号
	 * @param courseStart 开始时间
	 * @param courseEnd   结束时间
	 * @param teacherNo   教员号
	 * @param courseNum   上课人数
	 * @param coursePlace 上课地点
	 * @param courseTime  上课时间
	 * @param courseStatus  课程计划状态
	 * @param subJect    课程类别
	 * @param courseName 课程名称
	 * @param courseDesc 课程描述
	 * @param coursePic  课程图片
	 * @param teacherName  教员名
     * @param teacherXl  教员学历
	 * @param teacherPic   教员图片
	 * @param teacherSex 教员性别
	 * @param teacherTel 教员手机号
	 * @param  teacherDesc  教员自我评价
	 * 
	 */
	public CCPT(int cpNo, int courseNo, Date courseStart, Date courseEnd, int teacherNo, int courseNum,
			String coursePlace, String courseTime, int courseStatus, String subJect, String courseName,
			String courseDesc, String coursePic, String teacherName, String teacherXl, String teacherPic,
			String teacherSex, String teacherTel, String teacherDesc) {
		super();
		this.cpNo = cpNo;
		this.courseNo = courseNo;
		this.courseStart = courseStart;
		this.courseEnd = courseEnd;
		this.teacherNo = teacherNo;
		this.courseNum = courseNum;
		this.coursePlace = coursePlace;
		this.courseTime = courseTime;
		this.courseStatus = courseStatus;
		this.subJect = subJect;
		this.courseName = courseName;
		this.courseDesc = courseDesc;
		this.coursePic = coursePic;
		this.teacherName = teacherName;
		this.teacherXl = teacherXl;
		this.teacherPic = teacherPic;
		this.teacherSex = teacherSex;
		this.teacherTel = teacherTel;
		this.teacherDesc = teacherDesc;
	}
	@Override
	public String toString() {
		return "CCPT [cpNo=" + cpNo + ", courseNo=" + courseNo + ", courseStart=" + courseStart + ", courseEnd="
				+ courseEnd + ", teacherNo=" + teacherNo + ", courseNum=" + courseNum + ", coursePlace=" + coursePlace
				+ ", courseTime=" + courseTime + ", courseStatus=" + courseStatus + ", subJect=" + subJect
				+ ", courseName=" + courseName + ", courseDesc=" + courseDesc + ", coursePic=" + coursePic
				+ ", teacherName=" + teacherName + ", teacherXl=" + teacherXl + ", teacherPic=" + teacherPic
				+ ", teacherSex=" + teacherSex + ", teacherTel=" + teacherTel + ", teacherDesc=" + teacherDesc + "]";
	}
	
	
	/**
	 * @return the courseNowNum
	 */
	public int getCourseNowNum() {
		return courseNowNum;
	}
	/**
	 * @param courseNowNum the courseNowNum to set
	 */
	public void setCourseNowNum(int courseNowNum) {
		this.courseNowNum = courseNowNum;
	}
	/**
	 * @return the cpNo
	 */
	public int getCpNo() {
		return cpNo;
	}
	/**
	 * @param cpNo the cpNo to set
	 */
	public void setCpNo(int cpNo) {
		this.cpNo = cpNo;
	}
	/**
	 * @return the courseNo
	 */
	public int getCourseNo() {
		return courseNo;
	}
	/**
	 * @param courseNo the courseNo to set
	 */
	public void setCourseNo(int courseNo) {
		this.courseNo = courseNo;
	}
	/**
	 * @return the courseStart
	 */
	public Date getCourseStart() {
		return courseStart;
	}
	/**
	 * @param courseStart the courseStart to set
	 */
	public void setCourseStart(Date courseStart) {
		this.courseStart = courseStart;
	}
	/**
	 * @return the courseEnd
	 */
	public Date getCourseEnd() {
		return courseEnd;
	}
	/**
	 * @param courseEnd the courseEnd to set
	 */
	public void setCourseEnd(Date courseEnd) {
		this.courseEnd = courseEnd;
	}
	/**
	 * @return the teacherNo
	 */
	public int getTeacherNo() {
		return teacherNo;
	}
	/**
	 * @param teacherNo the teacherNo to set
	 */
	public void setTeacherNo(int teacherNo) {
		this.teacherNo = teacherNo;
	}
	/**
	 * @return the courseNum
	 */
	public int getCourseNum() {
		return courseNum;
	}
	/**
	 * @param courseNum the courseNum to set
	 */
	public void setCourseNum(int courseNum) {
		this.courseNum = courseNum;
	}
	/**
	 * @return the coursePlace
	 */
	public String getCoursePlace() {
		return coursePlace;
	}
	/**
	 * @param coursePlace the coursePlace to set
	 */
	public void setCoursePlace(String coursePlace) {
		this.coursePlace = coursePlace;
	}
	/**
	 * @return the courseTime
	 */
	public String getCourseTime() {
		return courseTime;
	}
	/**
	 * @param courseTime the courseTime to set
	 */
	public void setCourseTime(String courseTime) {
		this.courseTime = courseTime;
	}
	/**
	 * @return the courseStatus
	 */
	public int getCourseStatus() {
		return courseStatus;
	}
	/**
	 * @param courseStatus the courseStatus to set
	 */
	public void setCourseStatus(int courseStatus) {
		this.courseStatus = courseStatus;
	}
	/**
	 * @return the subJect
	 */
	public String getSubJect() {
		return subJect;
	}
	/**
	 * @param subJect the subJect to set
	 */
	public void setSubJect(String subJect) {
		this.subJect = subJect;
	}
	/**
	 * @return the courseName
	 */
	public String getCourseName() {
		return courseName;
	}
	/**
	 * @param courseName the courseName to set
	 */
	public void setCourseName(String courseName) {
		this.courseName = courseName;
	}
	/**
	 * @return the courseDesc
	 */
	public String getCourseDesc() {
		return courseDesc;
	}
	/**
	 * @param courseDesc the courseDesc to set
	 */
	public void setCourseDesc(String courseDesc) {
		this.courseDesc = courseDesc;
	}
	/**
	 * @return the coursePic
	 */
	public String getCoursePic() {
		return coursePic;
	}
	/**
	 * @param coursePic the coursePic to set
	 */
	public void setCoursePic(String coursePic) {
		this.coursePic = coursePic;
	}
	/**
	 * @return the teacherName
	 */
	public String getTeacherName() {
		return teacherName;
	}
	/**
	 * @param teacherName the teacherName to set
	 */
	public void setTeacherName(String teacherName) {
		this.teacherName = teacherName;
	}
	/**
	 * @return the teacherXl
	 */
	public String getTeacherXl() {
		return teacherXl;
	}
	/**
	 * @param teacherXl the teacherXl to set
	 */
	public void setTeacherXl(String teacherXl) {
		this.teacherXl = teacherXl;
	}
	/**
	 * @return the teacherPic
	 */
	public String getTeacherPic() {
		return teacherPic;
	}
	/**
	 * @param teacherPic the teacherPic to set
	 */
	public void setTeacherPic(String teacherPic) {
		this.teacherPic = teacherPic;
	}
	/**
	 * @return the teacherSex
	 */
	public String getTeacherSex() {
		return teacherSex;
	}
	/**
	 * @param teacherSex the teacherSex to set
	 */
	public void setTeacherSex(String teacherSex) {
		this.teacherSex = teacherSex;
	}
	/**
	 * @return the teacherTel
	 */
	public String getTeacherTel() {
		return teacherTel;
	}
	/**
	 * @param teacherTel the teacherTel to set
	 */
	public void setTeacherTel(String teacherTel) {
		this.teacherTel = teacherTel;
	}
	/**
	 * @return the teacherDesc
	 */
	public String getTeacherDesc() {
		return teacherDesc;
	}
	/**
	 * @param teacherDesc the teacherDesc to set
	 */
	public void setTeacherDesc(String teacherDesc) {
		this.teacherDesc = teacherDesc;
	}
}
